-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added hPDB, hPDB-examples, Octree, FenwickTree. #139
Conversation
Added hPDB, hPDB-examples, Octree, FenwickTree.
There's a problem building hPDB with GHC 7.4.2, since it includes an older version of bytestring: hPDB-0.9999 (Michal J. Gajda @mgajda) cannot use:
Would it be possible to upload a new version of hPDB which allows bytestring 0.9? |
The flag was already there: How to add flags to Stackage config? (Most recent cabal-install seems to figure these automatically.) |
Since the library can be built with any GHC from 7.0 up, it has also other build flag: old-zlib, old-vector. |
Is there a reason to put all of this logic into the Cabal file, instead of just using CPP macros in the source files instead? E.g., #if MIN_VERSION_bytestring(0, 10, 0)
...
#else
...
#endif |
I could try to do that. But I understand CPP macros work only for Cabal always defined?Best |
They're automatically generated macros, you don't have to do anything |
Dear Michael, I have just uploaded hPDB 0.9999.1 on Hackage. troubles.Best regards |
Thanks! It looks like everything's working properly now, I'll let you know if I run into any issues. |
Thank you. Particularly for taking your time to look at it. After all this bugs. Let's hope distro package maintainers pick it up soon.Michal
|
Dear Stackage Maintainers,
I believe my packages build alright, and would like to include them in your repository.
Best regards
Michal